package com.makefuture.task;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class OneDayJob implements Job {

	//一定要实现 Job这个类
    //这是个抽象方法
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
        try {
                   System.out.println("--------任务调度-----");          

        } catch (Exception e) {
            System.out.println("一天任务调度失败");
        }
    }
}
